﻿namespace SDCloudSolution.SDCloud.Entities.Models
{
    /// <summary>
    ///     Represents a status of specific model run.
    /// </summary>
    public enum ModelRunStatus
    {
        /// <summary>
        /// The model execution was queued by external system.
        /// </summary>
        Queued = 1,
        /// <summary>
        /// The model execution was assigned to specified job-service.
        /// </summary>
        Waiting,
        /// <summary>
        /// The model execution was started in specified job-service.
        /// </summary>
        InProgress,
        /// <summary>
        /// The model execution was completed without any errors or warning messages.
        /// </summary>
        Success,
        /// <summary>
        /// The model execution was completed with some warning messages.
        /// </summary>
        Warning,
        /// <summary>
        /// The model execution was completed with some errors.
        /// </summary>
        Error,
        /// <summary>
        /// The model execution was canceled or interupted by external system.
        /// </summary>
        Canceled,
    }

    /// <summary>
    ///     Represents a priority of specific model run.
    /// </summary>
    public enum ModelRunPriority
    {
        Low = 1,
        Normal,
        High
    }
}
